package com.campusbackend.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 通知列表VO
 * 
 * @author yezi
 * @since 2025-07-27
 */
@Data
@Schema(name = "NotificationListVO", description = "通知列表响应对象")
public class NotificationListVO {
    
    @Schema(description = "通知ID")
    private Long id;
    
    @Schema(description = "队伍ID")
    private Long teamId;
    
    @Schema(description = "队伍名称")
    private String teamName;
    
    @Schema(description = "发布者类型：1-教师，2-学生")
    private Byte publisherType;
    
    @Schema(description = "发布者ID")
    private Long publisherId;
    
    @Schema(description = "发布者姓名")
    private String publisherName;
    
    @Schema(description = "发布者头像")
    private String publisherAvatar;
    
    @Schema(description = "通知标题")
    private String title;
    
    @Schema(description = "通知内容摘要（前100个字符）")
    private String contentSummary;
    
    @Schema(description = "图片数量")
    private Integer imageCount;
    
    @Schema(description = "第一张图片URL（用于缩略图）")
    private String firstImageUrl;

    @Schema(description = "所有图片URL列表")
    private List<String> allImages;
    
    @Schema(description = "是否紧急：0-普通，1-紧急")
    private Byte isUrgent;
    
    @Schema(description = "是否需要确认：0-不需要，1-需要")
    private Byte requireConfirmation;
    
    @Schema(description = "队伍总成员数")
    private Integer totalMembers;
    
    @Schema(description = "已确认人数")
    private Integer confirmedCount;
    
    @Schema(description = "确认进度百分比")
    private Double confirmationProgress;
    
    @Schema(description = "当前用户是否已确认")
    private Boolean isConfirmed;
    
    @Schema(description = "发布时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
